package zxs.sino.elite.hub.service.app.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.yulichang.base.MPJBaseServiceImpl;
import zxs.sino.elite.hub.utils.PageUtil;
import zxs.sino.elite.hub.utils.Query;

import zxs.sino.elite.hub.mapper.app.WithdrawalApplyMapper;
import zxs.sino.elite.hub.model.app.WithdrawalApplyEntity;
import zxs.sino.elite.hub.service.app.WithdrawalApplyService;


@Service("withdrawalApplyService")
public class WithdrawalApplyServiceImpl extends MPJBaseServiceImpl<WithdrawalApplyMapper, WithdrawalApplyEntity> implements WithdrawalApplyService {

    @Override
    public PageUtil queryPage(Map<String, Object> params) {
        IPage<WithdrawalApplyEntity> page = this.page(
                new Query<WithdrawalApplyEntity>().getPage(params),
                new QueryWrapper<WithdrawalApplyEntity>()
        );

        return new PageUtil(page);
    }

}